package com.zjh.workflow.flowable.service;

import com.zjh.workflow.flowable.entity.DO.ProcessNodeVariableConfig;

import java.util.List;
import java.util.Map;

public interface ProcessVariableService {

    List<ProcessNodeVariableConfig> getProcessGateWayVariable(String processKey);

    List<ProcessNodeVariableConfig> getProcessAssignVariable(String processKey, Boolean skipFirst);

    Map<String, String> getProcessFirstAssignVariable(String processKey);

    Map<String, String> extractAllVariablesFromBpmn(String processKey);

    void saveOrUpdateProcessAssignVariable(ProcessNodeVariableConfig config);

    void saveOrUpdateBatchProcessAssignVariable(List<ProcessNodeVariableConfig> configs);
}
